<template>
  <div>
    <div class="head-box">
      <tHeader></tHeader>
    </div>
    <router-view></router-view>
    <div class="web">Copyright @ 2021-2022 上海英斯盾信息技术有限公司. All Rights Reserved</div>
  </div>
</template>

<script>
import tHeader from '@/layouts/components/Header.vue';
import { setSessionStorage } from '@/utils/storage';

export default {
  name: 'Dashboard',
  components: {
    tHeader,
  },
  methods: {
    toRiskPage() {
      this.$router.push('/risk-assessment');
      setSessionStorage('routeType', 'risk');
    },
  },
};
</script>

<style lang="less" scoped>
.head-box {
  // width: 100%;
  display: flex;
  justify-content: space-between;
  .headLogo {
    padding: 0 14px;
  }
  .logo {
    display: flex;
    height: 65px;
    margin: 10px;

    .logoContent {
      margin-left: 3px;
      padding-top: 0px;

      div {
        font-size: 20px;
        font-weight: 550;
        margin-bottom: -4px;
      }

      span {
        font-size: 8px;
      }
    }
  }
}

.web {
  // transform: translatey(200%);
  margin-top: 10px;
  bottom: 14px;
  font-family: 'PingFang SC';
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  color: rgba(0, 0, 0, 0.4);
}
</style>
